package com.tl.khadmin.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.tl.khadmin.bean.OrderRefund;
import com.tl.khadmin.bean.dto.OrderRefundBillDto; 

public interface OrderRefundMapper {
	
	List<OrderRefund> listOrderRefund(Map<String, Object> param); 

	List<OrderRefund> showOrderRefundByPage(Map<String, Object> params);
	
    int deleteByPrimaryKey(Integer id);

    int insert(OrderRefund record);

    int insertSelective(OrderRefund record);

    OrderRefund selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OrderRefund record);

    int updateByPrimaryKey(OrderRefund record);

	List<OrderRefundBillDto> showOrderRefundBillByPage(Map<String, Object> params);

	int updateSettlement(@Param("isSettlement")int isSettlement, @Param("settlementBillId")Integer settlementBillId,
			@Param("id")Integer orderRefundId);
}